Empty or null elements are usually introduced by mistake. They are useless and prevent readability of the code.
Exceptions
The top-level JSON template properties: parameters
, variables
, functions
, resources
and
outputs
are excluded from this rule. Also required properties are excluded from this rule.